package com.wutma.system.domain.question.vo;

import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QuestionDetailVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId; // 题目ID

    private String title; // 标题

    private Integer difficulty; // 难度 1-简单 2-中等 3-困难

    private Long timeLimit; // 超时时间限制

    private Long spaceLimit; // 空间限制

    private String content; // 题目内容

    private String questionCase; // 测试用例

    private String defaultCode; // 默认代码块

    private String mainFuc; // main函数代码块
}
